<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/css/jquery-ui.min.css">
    <link rel="stylesheet" href="/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="/css/public.css">
    <link rel="stylesheet" href="/css/admin/custom.css">
</head>
<body onload="loadPage()">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header"></div>
    <div id="customer-paper-container">
        <div class="test-container">
            <div class="layui-input-block">
                <button type="button" class="layui-btn layui-btn-radius layui-btn-primary"
                        onclick="returnToTest()">
                    返回试题管理
                </button>
            </div>
            <form class="layui-form" action="javascript:void(0);">
                <div class="test-title">
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="text" name="testTitle" placeholder="请输入试题名"
                                   class="layui-input layui-input-radius"
                                   title="" lay-verify="required" autocomplete="off">
                        </div>
                    </div>
                </div>
                <div class="class-type">
                    <div class="layui-form-item">
                        <div class="layui-input-block select-class">
                            <select name="subjectClazz" title="" lay-verify="required" autocomplete="off">
                                <option value="">请选择所属科目</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="text" name="singleScale" placeholder="请输入单选题分值"
                                   class="layui-input layui-input-radius"
                                   title="" lay-verify="required" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="text" name="multiScale" placeholder="请输入多选题分值"
                                   class="layui-input layui-input-radius"
                                   title="" lay-verify="required" autocomplete="off">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="text" name="restrict" placeholder="请输入考试时间(单位/分)"
                                   class="layui-input layui-input-radius" title="" lay-verify="required"
                                   autocomplete="off">
                        </div>
                    </div>
                </div>
                <div class="test-content">
                    <div class="add-question">
                        <button type="button" class="layui-btn layui-btn-radius layui-btn-primary"
                                onclick="addQuestion($(this));">
                            添加题目
                        </button>
                    </div>
                </div>
                <div class="create">
                    <button type="button" class="layui-btn layui-btn-radius layui-btn-normal" lay-submit
                            lay-filter="create">
                        创建试题
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="layout">
    <div class="layout-background background-hide layui-hide" onclick="hideLayout($('.layout'))"></div>
    <div class="layout-box box-hide" style="width: 50%">
        <form action="javascript:void(0)" class="layui-form">
            <div class="layout-header">
                <div class="layout-title"></div>
                <div class="layout-close"></div>
            </div>
            <div class="layout-container">
                <table class="layui-hide" id="testClazz" lay-filter="tc"></table>
                <div id="tc-page"></div>
            </div>
        </form>
    </div>
</div>
<script src="/js/jquery.min.js"></script>
<script src="/js/jquery-ui.min.js"></script>
<script src="/plugins/layui/layui.js"></script>
<script src="/js/public.js"></script>
<script src="/js/admin/randomPaper.js"></script>
</body>
</html>